import Vue from 'vue'
import Router from 'vue-router'
import Axios from 'axios'
// import HelloWorld from '@/components/HelloWorld'
// import User from '@/components/User'
// import UserProps from '@/components/UserProps'
import IndexPage from '@/pages/index'

Vue.use(Router);
Vue.use(Axios);

const routes = [
  {
    path: '/',
    component: IndexPage,
    meta: {
      title: 'home'
    }
  },
  // {
  //   path: '/movieList',
  //   component: 'movieList'
  // }
];

const router = new Router({
  mode: 'history',
  routes: routes
});

export default router
